<?php

namespace IUTINFO\ActionsComBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use IUTINFO\EtudiantsBundle\Entity\Etudiants;

/**
 * Participe
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="IUTINFO\ActionsComBundle\Entity\ParticipeRepository")
 */
class Participe
{
     /**
     * @ORM\Id
     * @ORM\ManyToOne(targetEntity="IUTINFO\ActionsComBundle\Entity\ActionDeCommunication") 
     */
    private $action;

    /**
     * @ORM\Id
     * @ORM\ManyToOne(targetEntity="\IUTINFO\EtudiantsBundle\Entity\Etudiants")
     */
    private $etudiant;

    /**
     * @var integer
     *
     * @ORM\Column(name="note", type="integer")
     */
    
  
    private $note;

    /**
     * @var boolean
     *
     * @ORM\Column(name="confirmationFiche", type="boolean")
     */
    private $confirmationFiche;

    /**
     * Set note
     *
     * @param integer $note
     * @return Participe
     */
    public function setNote($note)
    {
        $this->note = $note;

        return $this;
    }

    /**
     * Get note
     *
     * @return integer 
     */
    public function getNote()
    {
        return $this->note;
    }

    /**
     * Set confirmationFiche
     *
     * @param boolean $confirmationFiche
     * @return Participe
     */
    public function setConfirmationFiche($confirmationFiche)
    {
        $this->confirmationFiche = $confirmationFiche;

        return $this;
    }

    /**
     * Get confirmationFiche
     *
     * @return boolean 
     */
    public function getConfirmationFiche()
    {
        return $this->confirmationFiche;
    }

    /**
     * Set action
     *
     * @param \IUTINFO\ActionsComBundle\Entity\ActionDeCommunication $action
     * @return Participe
     */
    public function setAction(\IUTINFO\ActionsComBundle\Entity\ActionDeCommunication $action)
    {
        $this->action = $action;

        return $this;
    }

    /**
     * Get action
     *
     * @return \IUTINFO\ActionsComBundle\Entity\ActionDeCommunication 
     */
    public function getAction()
    {
        return $this->action;
    }

    /**
     * Set etudiant
     *
     * @param \IUTINFO\EtudiantsBundle\Entity\Etudiants $etudiant
     * @return Participe
     */
    public function setEtudiant(\IUTINFO\EtudiantsBundle\Entity\Etudiants $etudiant)
    {
        $this->etudiant = $etudiant;

        return $this;
    }

    /**
     * Get etudiant
     *
     * @return \IUTINFO\EtudiantsBundle\Entity\Etudiants 
     */
    public function getEtudiant()
    {
        return $this->etudiant;
    }
}
